<%@page import="com.group.attendance.WeekBean"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <jsp:useBean id="wek" class="com.group.attendance.WeekDAO"></jsp:useBean>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body background="red">
<jsp:include page="../common/top.jsp"></jsp:include>
<br>
<br>
<br>
<br>
<table width="100%" border="1">
  <tr height="22" bgcolor="e1dace">
    <th scope="col">이름</th>
    <th scope="col">지각횟수</th>
    <th scope="col">평균시간</th>
    <th scope="col">월</th>
    <th scope="col">화</th>
    <th scope="col">수</th>
    <th scope="col">목</th>
    <th scope="col">금</th>
    <th scope="col">토</th>
    <th scope="col">일</th>
  </tr>
  <%
  ArrayList<WeekBean> list = wek.getData();
  for(int i =0 ; i <list.size();i++ ){
	  WeekBean bean = list.get(i);
  
  %>
  <tr>
  <td><%=bean.getName() %></td>
  <td><%=bean.getGikar() %></td>
  <td>출근:<br>퇴근:<br>평균근무시간:</td>
  <td><%=bean.getCheck_in() %><br><%=bean.getCheck_out() %><br><%=bean.getAvg() %></td>
  
<%
}
%>
  </tr>
</table>
</body>
</html>